from data import clients as data


def get_all_clients() -> list[dict]:
    return data.get_all_clients_json()


def get_client(client_id: int) -> dict:
    return data.get_client_json(client_id)


def create_client(name: str, surname: str, credit_card: str, car_number: str) -> dict:
    return data.create_client_json(name, surname, credit_card, car_number)
